/**
 * Created by Toma on 2016/9/8.
 * 启一个服务器
 */

var http = require('http');
http.createServer(function (request, response) {
  response.writeHead(200, {'Content-Type': 'text-plain'});
  response.end('server starting\n');
}).listen(8989);